import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';

/*
  Generated class for the Detail page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Component({
  selector: 'page-detail',
  templateUrl: 'detail.html'
})
export class DetailPage {
  selectedItem: any;
  selectId: Number;
  constructor(public navCtrl: NavController, public navParams: NavParams) {
    debugger;
  	// If we navigated to this page, we will have an item available as a nav param
    this.selectedItem = navParams.get('item');
    this.selectId=navParams.get('id');
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad DetailPage');
  }



}


